const axios = require('axios')

const BaseURL = 'http://114.115.172.180:8001';

// 封装请求接口
function getUrlData(router,queryString) {
    let url = `${BaseURL}/${router}?${queryString}`;
    console.log('请求地址',url)
    return axios.get(url).catch(err => { console.log('请求出现错误❌', err) })
}

exports.getUrlData = getUrlData;